<div class="container">
    <div class="logo"><a href="./index.html">约建后台管理</a></div>
    <div class="open-nav"><i class="iconfont">&#xe699;</i></div>
    <ul class="layui-nav right" lay-filter="">
        <li class="layui-nav-item">
            <a href="javascript:;">
                {php}
                use think\Session;
                $session=Session::get('admin');
                echo $session['adminname'];
                {/php}
            </a>
            <dl class="layui-nav-child"> <!-- 二级菜单 -->
                <dd><a href="{:url('admin/index/destory')}">退出</a></dd>
            </dl>
        </li>
        <li class="layui-nav-item"><a href="/"></a></li>
    </ul>
</div>